<html>
<head>
<title>Docs For Class ServicesAdmin</title>
<link rel="stylesheet" type="text/css" href="../../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">kassiop-net</td>
  </tr>
  <tr><td class="header_line"><img src="../../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                                                                                
                                                                                          		  [ <a href="../../classtrees_kassiop-net.html" class="menu">class tree: kassiop-net</a> ]
		  [ <a href="../../elementindex_kassiop-net.html" class="menu">index: kassiop-net</a> ]
		  	    [ <a href="../../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../../li_kassiop.html">kassiop</a><br />
              <a href="../../li_kassiop-core.html">kassiop-core</a><br />
              <a href="../../li_kassiop-managers.html">kassiop-managers</a><br />
              <a href="../../li_kassiop-net.html">kassiop-net</a><br />
              <a href="../../li_kassiop-system.html">kassiop-system</a><br />
              <a href="../../li_kassiop-system-data.html">kassiop-system-data</a><br />
              <a href="../../li_kassiop-system-validators.html">kassiop-system-validators</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	subpackage <b>database</b><br>  <div class="package">
			<a href="../../kassiop-net/database/_net---database---MysqlConfig.php.html">		MysqlConfig.php
		</a><br>
			<a href="../../kassiop-net/database/_net---database---MysqlConnector.php.html">		MysqlConnector.php
		</a><br>
	  </div><br />
	subpackage <b>remoting</b><br>  <div class="package">
			<a href="../../kassiop-net/remoting/_net---remoting---Administrable.php.html">		Administrable.php
		</a><br>
			<a href="../../kassiop-net/remoting/_net---remoting---Findable.php.html">		Findable.php
		</a><br>
			<a href="../../kassiop-net/remoting/_net---remoting---ServicesAdmin.php.html">		ServicesAdmin.php
		</a><br>
			<a href="../../kassiop-net/remoting/_net---remoting---ServicesMysql.php.html">		ServicesMysql.php
		</a><br>
			<a href="../../kassiop-net/remoting/_net---remoting---ValidatorService.php.html">		ValidatorService.php
		</a><br>
	  </div><br />
      
            <b>Interfaces:</b><br />
        <div class="package">
	remoting<br />	    &nbsp;&nbsp;		<a href="../../kassiop-net/remoting/Administrable.html">Administrable</a><br />
	    &nbsp;&nbsp;		<a href="../../kassiop-net/remoting/Findable.html">Findable</a><br />
	  </div>
      
            <b>Classes:</b><br />
        <div class="package">
	remoting<br />	    &nbsp;&nbsp;		<a href="../../kassiop-net/remoting/ServicesAdmin.html">ServicesAdmin</a><br />
	    &nbsp;&nbsp;		<a href="../../kassiop-net/remoting/ServicesMysql.html">ServicesMysql</a><br />
	    &nbsp;&nbsp;		<a href="../../kassiop-net/remoting/ValidatorService.html">ValidatorService</a><br />
	  </div>
  <div class="package">
	database<br />	    &nbsp;&nbsp;		<a href="../../kassiop-net/database/MysqlConfig.html">MysqlConfig</a><br />
	    &nbsp;&nbsp;		<a href="../../kassiop-net/database/MysqlConnector.html">MysqlConnector</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: ServicesAdmin</h1>
Source Location: /net/remoting/ServicesAdmin.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre><a href="../../kassiop-net/remoting/ServicesMysql.html">ServicesMysql</a>
   |
   --ServicesAdmin</pre><br />
<div class="description">Abstract class witch provides admin queries.</div><br /><br />
<h4>Author(s):</h4>
<ul>
          <li>NairuS</li>
            </ul>




        

                <p class="implements">
            Implements interfaces:
            <ul>
                <li><a href="../../kassiop-net/remoting/Administrable.html">Administrable</a></li>            </ul>
        </p>
        
</td>



<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../../kassiop-net/remoting/ServicesAdmin.html#method__construct">__construct</a></li>
    <li><a href="../../kassiop-net/remoting/ServicesAdmin.html#methoddelete">delete</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>



<td valign="top">
<h3>Inherited Constants</h3>
<div class="tags">
<h4>Class: <a href="../../kassiop-net/remoting/ServicesMysql.html">ServicesMysql</a></h4>
<dl>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#constASC">ServicesMysql::ASC</a>
</dt>
<dd>
   
</dd>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#constDESC">ServicesMysql::DESC</a>
</dt>
<dd>
   
</dd>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#const_AND_">ServicesMysql::_AND_</a>
</dt>
<dd>
   
</dd>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#const_OR_">ServicesMysql::_OR_</a>
</dt>
<dd>
   
</dd>
</dl>
</div>
</td>

<td valign="top">
<h3>Inherited Variables</h3>
<div class="tags">
<h4>Class: <a href="../../kassiop-net/remoting/ServicesMysql.html">ServicesMysql</a></h4>
<dl>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#var$config">ServicesMysql::$config</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#var$connect">ServicesMysql::$connect</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#var$credentialManager">ServicesMysql::$credentialManager</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#var$role">ServicesMysql::$role</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#var$sessionName">ServicesMysql::$sessionName</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#var$table">ServicesMysql::$table</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../../kassiop-net/remoting/ServicesMysql.html#var$trueValues">ServicesMysql::$trueValues</a>
  </dt>
<dd>
   
</dd>
</dl>
</div>
</td>

<td valign="top">
<h3>Inherited Methods</h3>
<div class="tags">
<h4>Class: <a href="../../kassiop-net/remoting/ServicesMysql.html">ServicesMysql</a></h4>
<dl>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#method__construct">ServicesMysql::__construct()</a>
  </dt>
  <dd>
    Create an instance of ServicesMysql
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodbuildCredential">ServicesMysql::buildCredential()</a>
  </dt>
  <dd>
    Build the credential with the current class.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodbuildOrderBy">ServicesMysql::buildOrderBy()</a>
  </dt>
  <dd>
    Builds the ORDER BY part of the query.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodbuildQuery">ServicesMysql::buildQuery()</a>
  </dt>
  <dd>
    Builds the query to launch after the validation of the model.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodbuildSelect">ServicesMysql::buildSelect()</a>
  </dt>
  <dd>
    Build the SELECT part of the query.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodbuildWhere">ServicesMysql::buildWhere()</a>
  </dt>
  <dd>
    Builds the WHERE part of the query.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodfind">ServicesMysql::find()</a>
  </dt>
  <dd>
    Return the ValueObject for the id passed-in.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodfindAll">ServicesMysql::findAll()</a>
  </dt>
  <dd>
    Return an array of ValueObject.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodgenerateList">ServicesMysql::generateList()</a>
  </dt>
  <dd>
    Returns an array formatted for a list.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodgetResult">ServicesMysql::getResult()</a>
  </dt>
  <dd>
    Returns the result of a query.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodgetRole">ServicesMysql::getRole()</a>
  </dt>
  <dd>
    Returns the current role of the user.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodgetVO">ServicesMysql::getVO()</a>
  </dt>
  <dd>
    Returns the ValueObject of a result query row.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodisAuthorized">ServicesMysql::isAuthorized()</a>
  </dt>
  <dd>
    Checks if the user is authorized to use the credential passed-in.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodisTrue">ServicesMysql::isTrue()</a>
  </dt>
  <dd>
    Returns true if the field passed-in is set with the values following.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodsanitize">ServicesMysql::sanitize()</a>
  </dt>
  <dd>
    Sanitizes all values before to send sql request.
  </dd>
    <dt>
    <a href="../../kassiop-net/remoting/ServicesMysql.html#methodvalidate">ServicesMysql::validate()</a>
  </dt>
  <dd>
    Validate the model, build and execute the query.
  </dd>
  </dl>
</div>
</td>

</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 45]<br />
Abstract class witch provides admin queries.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>NairuS</td>
  </tr>
  <tr>
    <td><b>abstract:</b>&nbsp;&nbsp;</td><td></td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />


<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="method__construct"></a>
	<h3>constructor __construct <span class="smalllinenumber">[line 52]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>ServicesAdmin __construct(
[$file
$file = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Create an instance of ServicesAdmin<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	Overrides <a href="../../kassiop-net/remoting/ServicesMysql.html#method__construct">ServicesMysql::__construct()</a> (Create an instance of ServicesMysql)<br /><br />
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">$file&nbsp;&nbsp;</td>
        <td><b>$file</b>&nbsp;&nbsp;</td>
        <td>initialize an other mysql configuration.</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methoddelete"></a>
	<h3>method delete <span class="smalllinenumber">[line 71]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>boolean delete(
mixed
$id)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Deletes an object form the model with the id passed-in.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>True if the object has been deleted, false otherwise.</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

			<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../../kassiop-net/remoting/Administrable.html#methoddelete">Administrable::delete()</a></dt>
						<dd>Deletes an object form the model with the id passed-in.</dd>
					</dl>
		
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$id</b>&nbsp;&nbsp;</td>
        <td>integer or string identifier of the object.</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Sat, 06 Nov 2010 19:15:21 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>